import request from '@/utils/request'


// 查询testpeoplelog列表
export function gettestlogdetails(data) {
  return request({
    url: '/monitormanage/testlog/gettestlogdetails',
    method: 'post',
    data: data
  })
}
// 查询gettestlogforday列表
export function gettestlogforday(data) {
  return request({
    url: '/monitormanage/testlog/gettestlogforday',
    method: 'post',
    data: data
  })
}
// 查询完成进度 qualityMonitorData"
export function qualityMonitorData(data) {
  return request({
    url: '/monitormanage/quality/qualityMonitorData',
    method: 'post',
    data: data
  })
}
// 查询完成进度 质量监控列表
export function getqualitycontrol(data) {
  return request({
    url: '/monitormanage/quality/getqualitycontrol',
    method: 'post',
    data: data
  })
}
// 查询查看个人数据
export function getqualityresult(data) {
  return request({
    url: '/monitormanage/quality/getqualityresult',
    method: 'post',
    data: data
  })
}
// 下载
export function downloadExcelbydeptid(data) {
  return request({
    url: '/system/user/downloadExcelbydeptid',
    method: 'post',
    data: data,
    timeout: 600000000, // 单独设置这个接口的超时时间为60秒*10000
    responseType: 'blob' // 这是关键！
  })
}
// 获取监测点GPS
export function creategpslist(data) {

  return request({
    url: '/monitormanage/creategps/list',
    method: 'get',
    params: data
  })
}
// 新增填入gps
export function addCreategps(data) {
  console.log(data)
  return request({
    //url: '/monitormanage/creategps',
    url: '/monitormanage/reviewgps',
    method: 'post',
    data: data
  })
}
